package org.easiermock.testmocks;

import org.easiermock.Mock;

/**
 * A concrete delegate class that does not implement the real interface. 
 * 
 * @author Neil Fuller
 */
public class NotImplementerDelegate implements TestDelegate {
	private boolean method1Called; 
	
	@Mock(id="method1")
	public int method1() {
		method1Called = true;
		return 0;
	}	

	public boolean wasMethod1Called() {
		return method1Called;
	}
}